<html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>后台管理系统</title>
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/style.css">
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/font-awesome.min.css">
<link rel="apple-touch-icon-precomposed" href="__STATIC__/admin/images/icon/icon.png">
<link rel="shortcut icon" href="__STATIC__/admin/images/icon/favicon.ico">
<script src="__STATIC__/admin/js/jquery-2.1.4.min.js"></script>
<script src="__STATIC__/admin/js/bootstrap.min.js"></script> 
<script src="__STATIC__/admin/js/admin-scripts.js"></script>
<script src="__STATIC__/admin/js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="__STATIC__/admin/js/WdatePicker.js"></script>
<!--[if gte IE 9]>
  <script src="__STATIC__/admin/js/jquery-1.11.1.min.js" type="text/javascript"></script>
  <script src="__STATIC__/admin/js/html5shiv.min.js" type="text/javascript"></script>
  <script src="__STATIC__/admin/js/respond.min.js" type="text/javascript"></script>
  <script src="__STATIC__/admin/js/selectivizr-min.js" type="text/javascript"></script>
<![endif]-->
<!--[if lt IE 9]>
  <script>window.location.href='upgrade-browser.html';</script>
<![endif]-->
</head>

<body>
<section class="container-fluid">
  <header>
    <nav class="navbar navbar-default navbar-fixed-top" style="background-color: #393D49;">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only">切换导航</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
          <a class="navbar-brand" href="/" style="color:white">YlsatCMS</a> </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
          <ul class="nav navbar-nav navbar-right">
            <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="color:white">{:session('user_name')} <span class="caret"></span></a>
              <ul class="dropdown-menu dropdown-menu-left">
                <li><a href="{:url('admin/admin/see')}" title="查看个人信息" >个人信息</a></li>
              </ul>
            </li>
            <li><a href="{:url('admin/login/loginout')}" onClick="if(!confirm('是否确认退出？'))return false;" style="color:white">退出登录</a></li>
            <li><a href="{:url('admin/index/clear')}" style="color:white">清除缓存</a></li>
          </ul>
        </div>
      </div>
    </nav>
  </header>
  <div class="row">
    <aside class="col-sm-3 col-md-2 col-lg-2 sidebar"  style="background-color:#F5F5F5">
      <ul class="nav nav-sidebar">
        <li class="active"><a href="{:url('admin/index/index')}">系统信息</a></li>
      </ul>
      <ul class="nav nav-sidebar">
        <li><a href="{:url('admin/setconfig/index')}">系统设置</a></li>
        <li><a class="dropdown-toggle" id="userMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">权限管理&nbsp;&nbsp;<span class="caret"></span></a>
          <ul class="dropdown-menu" aria-labelledby="userMenu">
            <li><a href="{:url('admin/admin/index')}">管理员列表</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="{:url('admin/admin/add')}">添加管理员</a></li>
            <!-- <li role="separator" class="divider"></li>
            <li><a href="loginlog.html">权限管理</a></li> -->
          </ul>
        </li>
         <li><a class="dropdown-toggle" id="userMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">数据库管理&nbsp;&nbsp;<span class="caret"></span></a>
          <ul class="dropdown-menu" aria-labelledby="userMenu">
            <li><a href="{:url('admin/database/index')}">数据库备份</a></li>
            <li role="separator" class="divider"></li>
          </ul>
        </li>
        <li><a href="{:url('admin/win/index')}">开奖设置</a></li>
        <li><a href="{:url('admin/result/index')}">开奖记录</a></li>
        <li><a class="dropdown-toggle" id="userMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">会员管理&nbsp;&nbsp;<span class="caret"></span></a>
          <ul class="dropdown-menu" aria-labelledby="userMenu">
            <li><a href="{:url('admin/users/index')}">会员列表</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="{:url('admin/users/indexusers')}">总代理</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="{:url('admin/users/addsole')}">添加总代理</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="{:url('admin/users/addusers')}">添加用户</a></li>
          </ul>
        </li>
        <li><a href="{:url('admin/Order/index')}">订单列表</a></li>
        <li><a href="{:url('admin/Returns/index')}">退水记录</a></li>
        <li><a class="dropdown-toggle" id="userMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">充值管理&nbsp;&nbsp;<span class="caret"></span></a>
          <ul class="dropdown-menu" aria-labelledby="userMenu">
            <li><a href="{:url('admin/topup/index')}">充值列表</a></li>
          </ul>
        </li>
        <li><a href="{:url('admin/notice/index')}">公告管理</a></li>
      </ul>
    </aside>